package cn.group.service;

import cn.group.domain.Room;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface RoomService {
    List<Room> getAll();//获取教室信息
    Room getOneById(Integer id);
    PageInfo<Room>getRoomByPage(Integer currentPage,Integer pagesize);
    boolean addOne(Room room);
    boolean modifyOne(Room room);
    boolean removeOne(Integer id);

}
